<template>
    <div class="container">
        <div class="header">
            <div class="header-left">
                <!-- 展开收缩按钮 -->
                <ExpandToggle></ExpandToggle>
                <BreadCrumb></BreadCrumb>
                <!-- 导航 -->
            </div>
            <div class="header-right">
                <Search></Search>
                <Notify></Notify>
                <Language></Language>
                <FullScreen></FullScreen>
                <ThemeToggle></ThemeToggle>
                <UserDrop></UserDrop>
            </div>
        </div>
        <div class="header-tag">
            <tabs></tabs>
        </div>
    </div>
</template>

<script setup>
import { ExpandToggle, Search, Notify, ThemeToggle, FullScreen, Language, UserDrop, BreadCrumb, tabs } from './components/index.js'


</script>

<style lang="scss" scoped>
.container {
    height: 100%;
    width: 100%;
}

.header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
    position: relative;
    padding: 15px 20px;
    // border-bottom: 1px solid var(--el-border-color);

    .header-left {
        display: flex;
        align-items: center;
        line-height: 40px;
        height: 40px;
    }

    .header-right {
        display: flex;
        align-items: center;
        line-height: 40px;
        height: 40px;
    }

}

.header-tag {
    width: calc(100% - 10px);
    background-color: var(--el-bg-color);
    border-top: 1px solid var(--el-border-color);
    border-bottom: 1px solid var(--el-border-color);
    display: flex;
    padding: 5px 10px;
    // padding: 10px;
    /* box-shadow: 0 1px 3px 0 rgb(0 0 0 / 12%), 0 0 3px 0 rgb(0 0 0 / 4%); */
}

@media (max-width:768px) {
    .header .header-left {
        display: none;
    }
}
</style>